<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    String basePath = request.getScheme() + "://" +
            request.getServerName() + ":" + request.getServerPort() +
            request.getContextPath() + "/";
%>
<html>
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <base href="<%=basePath%>">
    <style type="text/css">
        body {
            margin: 0;
        }
        #navBar {
            background-color: #222;
            border-color: #080808;
            width: 100%;
            height: 70px;
        }
        #div1 {
            display: block;
        }
        .navbar-brand {
            float: left;
            height: 50px;
            padding: 25px 25px;
            font-size: 18px;
            line-height: 20px;
            text-decoration: none;
            color: #9D9D9D;
        }
        a:hover {
            color: white;
        }
        #img1 {
            margin-left:20px;
            margin-right:0px;
            float: left;
        }
    </style>
</head>
<body>
 <div id="div1">
     <nav id="navBar">
         <img src="static/images/tmallbuy.png" id="img1" />
         <a class="navbar-brand" href="forward/goods" target="main">商品主页</a>
         <a class="navbar-brand" href="forward/product" target="main">物品管理</a>
         <a class="navbar-brand" href="forward/order" target="main">订单管理</a>
         <a class="navbar-brand" href="forward/manager" target="main">用户管理</a>
         <a class="navbar-brand" href="forward/cart" target="main">我的购物车</a>
     </nav>
 </div>
</body>
</html>